package cn.itcast.bos.service.base;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;

import cn.itcast.bos.domain.base.FixedArea;

public interface IFixedAreaService {

    // 添加定区
    void saveFixedArea(FixedArea model);

    // 有条件分页查询
    Page<FixedArea> pageQueryFixedArea(Specification<FixedArea> specification, Pageable pageable);

    // 关联快递员
    void associationCourierToFixedArea(FixedArea model, Integer takeTimeId, Integer courierId);

}
